#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
@Project ：图灵学习 
@File    ：10.私有方法.py
@IDE     ：PyCharm 
@Author  ：ChenLiGao
@Date    ：2024-10-21 16:17
'''
"""
    银行转账
"""
class BankService:
    def __bank_to_bank(self, money):
        print("这是银行转账的逻辑.....")
        if money <= 10:
            print("转账金额最低10元...")
        print(f"转账成功:{money}")

    def buy_money(self):
        money = int(input("请输入你的转账金额："))
        self.__bank_to_bank(money)
bankservice = BankService()

bankservice.buy_money()

print(dir(bankservice))